Android 9D(2019) SP2-10i interface changes

Historical version interface changes

This document introduces the interface adjustment and other important influence of the compatibility possibly affected between two neighboring versions. The principle of interface adjustment is to develop a more efficient, more powerful, and perfect application for users.

Interface changes from SuperMap iMobile 9D(2019) SP2 for Android to SuperMap iMobile 10i for Android

Changed ID Changed content
Module
1.
Newly added the feature of AI recognition:
AI
2.
Newly added AR features:
AR
3.
Newly added thematic map class:
Mapping
4.
Newly added heat map and grid map modules:

Layers Newly added interfaces:

  • addHeatmap(Dataset, int): Creates a heat map according to the given point dataset and parameter settings
  • addHeatmap(Dataset, int, Color, Color): Creates a heat map according to the given point dataset and parameter settings
  • addGridAggregation(Dataset): Creates a grid map according to the given point dataset
  • addGridAggregation(Dataset ,Color ,Color ): Creates a grid map according to the given point dataset
Mapping
5.
Map has some changes:

Newly added interfaces:

  • setSlantAngle(double): sets the tilt angle
  • getSlantAngle(): gets the tilt angle
  • createLegend(): gets the legend
  • getCreateLegend(): sets the legend
Mapping
6.
LegendItem has some changes:

Newly added interfaces:

  • getColor(): gets the LegendItem color
  • setColor(int): sets the LegendItem color
Mapping
7.
Collector has some changes:

Newly added interfaces:

  • isDragNodeEnable(): gets whether the last node is movable
  • setDragNodeEnable(boolean): sets whether the last node is movable
  • setEditNodeColor(int): sets the color of the current node
  • setEditNodeColor(Color): sets the color of the current node
  • getEditNodeColor(): gets the color of the current node
  • setNodeColor(int): sets the color of a node
  • setNodeColor(Color): sets the color of a node
  • getNodeColor(): gets the color of a node
  • setNodeSize(double): sets the size of a node
Mapping
8.
ArControl2 has some changes:

Closed interfaces:

  • setMode(int)
  • getMode()

Updated interfaces:

  • Changes the interface setARMapType(ARMapType) to setARMode(ARMode)
  • Changes the interface getARMapType() to getARMode()
  • Changes the interface ARMapType to ARMode
Mapping
9.
Newly added AR arrows:
Mapping
10.
Docking iPortal service:
Services
11.
Newly added situation evolution module:
Plotting
12.
Environment has some changes:

Newly added interfaces:

  • setUserExperienceEnable(boolean): sets whether to open user experience
  • isUserExperienceEnable(): gets whether to open user experience
Data
13.
RecycleLicenseManager has some changes:

Newly added interfaces:

  • queryLicenseCount(String): searches the number of licenses
Data
14.
OverlayAnalyst has some changes:

Newly added interfaces:

  • clipCAD(DatasetVector ,Geometry ,DatasetVector ,boolean ,boolean ,double): Clips a CAD dataset
  • clipText(DatasetVector ,Geometry , DatasetVector ,boolean ,boolean ,double): Clips a text dataset
Analyst
15.
FlyManager has some changes:

Newly added interfaces:

  • addStopArrivedListener(StopArrivedListener): adds an event which is used to receive an arrived stop
  • removeStopArrivedListener(StopArrivedListener): removes an event which is used to receive an arrived stop
Realspace
16.
Route has some changes:

Newly added interfaces:

  • toGeoLine3D(): outputs a path as a line object
  • setStops(RouteStops): sets the stop collection of the line object
  • getDefaultStyle(): gets the style of the line object
  • setDefaultStyle(GeoStyle3D): sets the style of the line object

Routes has some changes:

Newly added interfaces:

  • getCurrentRoute(): returns the index of the selected path
Realspace
17.
Layer3D has some changes:

Newly added interfaces:

  • setClipLineColor(Color): sets the color of the clipping border

Layer3Ds has some changes:

Newly added interfaces:

  • addLayerWith(String ,Layer3DType ,boolean ,String): layer data to add iserver cache
  • addLayerWith(String ,Layer3DType ,boolean ,String ,String): layer data to add iserver cache with password
Realspace
18.
ARControl has some changes:

Newly added interfaces:

  • setUpdateAnchor(boolean): sets whether to update status of anchor
  • setAugmentedImageTrackState(boolean): sets whether to enable image-tracing enhancement
  • getAugmentedImageTrackState(): gets whether to enable image-tracing enhancement
  • configAugmentedImageInfo(String[]): configures the name array of reference images
  • setAugmentedImageTrackingListener( AugmentedImageTrackingListener): sets the listener of image tracing
  • setARPlaneTrackingListener( ARPlaneTrackingListener): sets the listener of AR plane tracing

Newly added listener class:

Realspace
19.
DownloadManager has some changes:

Newly added interfaces:

  • loadWithUrl(String ,String ,String): reads layer information according to the specified 3D service address, layer name, and token.
  • pauseDownload(String ,String): Pause
  • continueDownload(String ,String): Continues to download
  • setDownloadManagerListener(DownloadManagerListener): Sets the downloading listener

Newly added listener:

Realspace
20.
Scene has some changes:

Newly added interfaces:

  • getLookAt(): gets the camera object of the current scene
  • SetOverlapDisplayed(boolean): sets whether to display when there are overlays
  • getFPS(): gets the frame rate of the current scene
Realspace
21.
TerrainLayers has some changes:

Newly added interfaces:

  • addIserver(String ,String): adds an iserver terrain layer
  • add(String ,Boolean ,String ,String): adds 3D terrain layers to 3D terrain layer collection
  • removeLayerWithName(String): removes a 3D terrain layer from a 3D terrain layer collection
Realspace
22.
TrackingLayer3D has some changes:

Newly added interfaces:

  • offset(int ,double ,double ,double): offsets in coordinate x, y, and z of Geometry of specified index in a 3D tracing layer (only supports GeoModel offset)
  • setRotation(int ,double ,double ,double): rotations in coordinate x, y, and z of Geometry of specified index in a 3D tracing layer (only supports GeoModel rotation)
  • setScale(int ,double): scales in coordinate x, y, and z of Geometry of specified index in a 3D tracing layer (only supports GeoModel scale)
Realspace
23.
3D module adds new classes:

Realspace